package cn.wolfcode.trip.base.service;


import cn.wolfcode.trip.base.domain.Answer;
import cn.wolfcode.trip.base.domain.Questionnaire;
import cn.wolfcode.trip.base.query.QuestionnaireQueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IQuestionnaireService {
    PageInfo selectProblem(QuestionnaireQueryObject qo);

    List<Questionnaire> selectProblems();

    List<Answer> selectAnswer();

    List getQuestionnaireId();

    //保存用户填写的题目信息
    void saveOrUpdate(Long userId,String value);

    //保存用户的意见和建议
    void saveEvaluates(Long userId,String value);

    PageInfo query(QuestionnaireQueryObject qo);

    PageInfo queryEvaluate(QuestionnaireQueryObject qo);

    List<String> selectQuestionnaire(Long userId);
}
